JavaScript
A5.d.date.relative.generatehour Method
Syntax
A5.d.date.relative.generate.hour(hour)
Arguments
- hournumber
The delta in hours between two dates.
Returns
- hourstring
The correctly formatted representation of the delta in hours.
Description
Method used to generate how hours should be representation in a relative date. For example turning "1" into "1 hour", and "3" into "3 hours". See Date.toRelative.